summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-12-09 19:51:19 +0100
committerGitHub <noreply@github.com>2022-12-09 19:51:19 +0100
commit66c4331de5d71bad7fbc8f51182fbf2a5f9755df (patch)
tree1f6426d0fa21acd1eaacd42ecbc130d002591b6a
parentMerge pull request #9401 from vonchenplus/draw_manager (diff)
parentRemove the lock entirely as per PR discussion (diff)
downloadyuzu-66c4331de5d71bad7fbc8f51182fbf2a5f9755df.tar
yuzu-66c4331de5d71bad7fbc8f51182fbf2a5f9755df.tar.gz
yuzu-66c4331de5d71bad7fbc8f51182fbf2a5f9755df.tar.bz2
yuzu-66c4331de5d71bad7fbc8f51182fbf2a5f9755df.tar.lz
yuzu-66c4331de5d71bad7fbc8f51182fbf2a5f9755df.tar.xz
yuzu-66c4331de5d71bad7fbc8f51182fbf2a5f9755df.tar.zst
yuzu-66c4331de5d71bad7fbc8f51182fbf2a5f9755df.zip
-rw-r--r--src/core/hle/kernel/service_thread.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/kernel/service_thread.cpp b/src/core/hle/kernel/service_thread.cpp
index e72c3d35d..38afa720b 100644
--- a/src/core/hle/kernel/service_thread.cpp
+++ b/src/core/hle/kernel/service_thread.cpp
@@ -163,9 +163,6 @@ ServiceThread::Impl::~Impl() {
m_wakeup_event->Signal();
m_host_thread.join();
- // Lock mutex.
- m_session_mutex.lock();
-
// Close all remaining sessions.
for (const auto& [server_session, manager] : m_sessions) {
server_session->Close();